package com.exam.mysql;

import com.exam.entity.SysProperty;
import com.exam.entity.SysPropertyExample;
import com.exam.entity.SysPropertyKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysPropertyDao {
    long countByExample(SysPropertyExample example);

    int deleteByExample(SysPropertyExample example);

    int deleteByPrimaryKey(SysPropertyKey key);

    int insert(SysProperty record);

    int insertSelective(SysProperty record);

    List<SysProperty> selectByExample(SysPropertyExample example);

    SysProperty selectByPrimaryKey(SysPropertyKey key);

    int updateByExampleSelective(@Param("record") SysProperty record, @Param("example") SysPropertyExample example);

    int updateByExample(@Param("record") SysProperty record, @Param("example") SysPropertyExample example);

    int updateByPrimaryKeySelective(SysProperty record);

    int updateByPrimaryKey(SysProperty record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_property
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysProperty> list);
}